package com.css.fxfzysx.modules.vaolEngineering.service;

import com.css.fxfzysx.base.response.RestResponse;
import com.css.fxfzysx.modules.vaolEngineering.param.DeleteParam;
import com.css.fxfzysx.modules.vaolEngineering.param.PageParam;
import com.css.fxfzysx.modules.vaolEngineering.param.UpdateParam;
import com.css.fxfzysx.modules.vaolEngineering.vo.LifelineCalculationVo;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.List;

public interface ValEngineeringService {
    HashMap<String,Object> page(PageParam param, HttpServletRequest request);

    HashMap<String, Object> getVersionByType(Integer type, HttpServletRequest request);

    LifelineCalculationVo getByIdAndType(Integer type, String id,Integer bridgeType);

    void updateByIdAndType(UpdateParam param);

    RestResponse recalculate(Integer type, String id,Integer bridgeType);

    void deleteByTypeAndId(List<DeleteParam> params);
}
